home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / tbspline.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  2.6 KB  |  57 lines

  1. .TH TBSPLINE
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. TBSPLINE
  5.  
  6.  
  7.  
  8.  TrivarType TBSPLINE( NumericType UOrder,
  9.                       NumericType VOrder,
  10.                       NumericType WOrder,
  11.                       ListType CtlMesh,
  12.                       ListType KnotVectors )
  13.  
  14. Creates a Bspline trivariate with the provided UOrder, VOrder
  15. and WOrder orders, the control mesh CtlMesh, and the three knot
  16. vectors in KnotVectors.
  17. CtlMesh is a list of planes, each of which is a list of rows, each
  18. of which is a list of control points. All control points must be of point
  19. type (E1-E5, P1-P5), or regular PointType defining the trivariate's control
  20. mesh. Trivariate's point type will be of a space which is the union of the
  21. spaces of all points.
  22. KnotVectors is a list of three knot vectors. Each knot vector is a
  23. list of NumericType knots of length #CtlPtList plus the Order.
  24. If, however, the length of the knot vector is equal to #CtlPtList +
  25. Order + Order - 1} the curve is assumed periodic. 
  26. The knot vector may also be a list of a single constant KV_OPEN or
  27. KV_FLOAT or KV_PERIODIC, in which a uniform knot vector with the
  28. appropriate length and with open, floating or periodic end condition
  29. will be constructed automatically.
  30.  
  31. Example:
  32.  
  33.    TV = TBSPLINE( 2, 2, 2,
  34.                   list( list( list( ctlpt( E3, 0.1, 0.1, 0.0 ),
  35.                                     ctlpt( E3, 0.2, 0.5, 1.1 ),
  36.                                     ctlpt( E3, 0.3, 0.1, 2.2 ) ),
  37.                               list( ctlpt( E3, 0.4, 1.3, 0.5 ),
  38.                                     ctlpt( E3, 0.5, 1.7, 1.7 ),
  39.                                     ctlpt( E3, 0.6, 1.3, 2.9 ) ),
  40.                               list( ctlpt( E3, 0.7, 2.4, 0.5 ),
  41.                                     ctlpt( E3, 0.8, 2.6, 1.4 ),
  42.                                     ctlpt( E3, 0.9, 2.8, 2.3 ) ) ),
  43.                         list( list( ctlpt( E3, 1.1, 0.1, 0.5 ),
  44.                                     ctlpt( E3, 1.3, 0.2, 1.7 ),
  45.                                     ctlpt( E3, 1.5, 0.3, 2.9 ) ),
  46.                               list( ctlpt( E3, 1.7, 1.2, 0.0 ),
  47.                                     ctlpt( E3, 1.9, 1.4, 1.2 ),
  48.                                     ctlpt( E3, 1.2, 1.6, 2.4 ) ),
  49.                               list( ctlpt( E3, 1.4, 2.3, 0.9 ),
  50.                                     ctlpt( E3, 1.6, 2.5, 1.7 ),
  51.                                     ctlpt( E3, 1.8, 2.7, 2.5 ) ) ) ),
  52.                   list( list( KV_OPEN ),
  53.                         list( KV_OPEN ),
  54.                         list( KV_OPEN ) ) );
  55.  
  56. constructs a trilinear Bspline trivariate with open end conditions.
  57.